package vip.xiaonuo.modular.databaseinfo.service.impl;

import java.util.HashMap;
import java.util.Map;

public class TableFieldInfo {
    public String name;
    public String type;
    public Object defaultValue;
    public Integer length;

    public Map toMap() {
        Map<Object, Object> paramMap = new HashMap<Object, Object>();
        paramMap.put("name",name);
        paramMap.put("type",type);
        paramMap.put("Object",defaultValue);
        paramMap.put("Integer",length);
        return paramMap;
    }
}
